Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make spec uploads persistent #8

Merged
merged 4 commits into from
Sep 26, 2024
Merged

Conversation

wwerner
Copy link
Contributor

@wwerner wwerner commented Sep 25, 2024

Discourse routinely removes uploads that are not tied to posts anymore. The way we uploaded was not recognized as a file usage, since we used the file URL of the file in the storage instead of the discourse upload URL. That worked, until the clean up kicked in and removed the spec files.

This PR uses the upload URL now and puts in an additional link to the file for good measure.

It also adds a header line, so the post shows up in the category overview more nicely.

Discourse routinely removes uploads that are not tied to posts anymore. The way we uploaded was not recognized as a file usage, since we used the file URL of the file in the storage instead of the discourse upload URL. That worked, until the clean up kicked in and removed the spec files.

This PR uses the upload URL now and puts in an additional link to the file for good measure.

It also adds a header line, so the post shows up in the category overview more nicely.
@wwerner wwerner merged commit 8c25417 into main Sep 26, 2024
12 checks passed
@wwerner wwerner deleted the fix/make-spec-uploads-persistent branch September 26, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants